package com.chezhujie.www.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chezhujie.www.domain.Czjxyspokesman;
import com.chezhujie.www.persistence.CzjxyspokesmanMapper;



@Service
public class CzjxyspokesmanService {
   
	@Autowired
	private CzjxyspokesmanMapper czjxyspokesmanMapper;
	
	public List<Czjxyspokesman> selectAllSpocesman(){
		
		return czjxyspokesmanMapper.selectAllSpocesman();
	}
	
	public Czjxyspokesman getSpokesman(String spokesmanId){
		return czjxyspokesmanMapper.getCzjxyspokesman(spokesmanId);
	}
 
}
